package sqlutil;

import sqlutil.criteriaImpl.CriteriaEq;
import sqlutil.criteriaImpl.CriteriaLike;

public class Restrictions {
	
	private Restrictions(){
		
	}
	
	public static Criteria like( String propertyName, Object obj ){
		return new CriteriaLike(propertyName, obj);
	}
	
	public static Criteria eq( String propertyName, Object obj ){
		return new CriteriaEq(propertyName, obj);
	}
}
